package com.yanmaohu.yulia.bean;

/**
 * @author Bright Lee
 */
public final class TimeZone {

    private int beginIndex;
    private int endIndex;
    private TimeZoneSpecifier timeZoneSpecifier;

    public TimeZone(int beginIndex, TimeZoneSpecifier timeZoneSpecifier) {
        this.beginIndex = beginIndex;
        this.endIndex = timeZoneSpecifier.getEndIndex();
        this.timeZoneSpecifier = timeZoneSpecifier;
    }

    public int getBeginIndex() {
        return beginIndex;
    }

    public int getEndIndex() {
        return endIndex;
    }

    public TimeZoneSpecifier getTimeZoneSpecifier() {
        return timeZoneSpecifier;
    }

}
